import { ref, computed } from 'vue';
import { defineStore } from 'pinia';

export const useCounterStore = defineStore('counter', () => {
  const headImgUrl = ref('');
  function setHeadImg(url) {
    headImgUrl.value = url;
  }
  return {
    headImgUrl,
    setHeadImg,
  };
});
